﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomAction Id="SDS.SharePoint.ReplaceDocument"
                Location="EditControlBlock" 
                Sequence="255"
                Title="Replace Document"
                RegistrationType="ContentType"
                RegistrationId="0x0101"
                Rights="EditListItems"
                >
    <UrlAction Url="javascript:window.location='{SiteUrl}/_layouts/SDS/ReplaceDocument/Replace.aspx?File={ItemUrl}&amp;Source=' + window.location" />
  </CustomAction>
</Elements>
